<?php 

namespace Sharks\Core\Path;

/**
 * 关键路径管理与获取
 */
class PathKit {

    protected $app;
    protected $framework;

    public function __construct($appPath) {
        $this->app = new AppPathKit($appPath);
        $this->framework = new FrameworkPathKit();
    }

    public function __get($name) {
        if (in_array($name, array('app', 'framework'))) {
            return $this->$name;
        }
    }

}